package bb.lanxing.manager;

import android.content.SharedPreferences;

public interface ISharedPreference {
    void commit();

    boolean contains(String str);

    boolean getBoolean(String str, boolean z);

    Enum getEnum(String str, Enum r2);

    float getFloat(String str, float f);

    int getInt(String str, int i);

    long getLong(String str, long j);

    String getString(String str, String str2);

    void registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener onSharedPreferenceChangeListener);

    void remove(String str);

    void setValue(String str, Object obj);

    void unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener onSharedPreferenceChangeListener);
}